home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / June 96 / Re FW_CArcShape HitTest does < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  1.1 KB  |  [TEXT/ttxt]

  1. Subject:     Re: FW_CArcShape::HitTest does not seem to work
  2. Sent:        6/24/96 1:26 PM
  3. Received:    6/24/96 2:35 PM
  4. From:        Henri Lamiraux, lamiraux@apple.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. >I have a little pie chart part that I am doing some hit testing on.  I 
  9. >want to
  10. >pass in a point to each section of the pie for hit testing to determine
  11. >which section the point is in.  However, no matter where the point is in
  12. >the pie, the first section always returns a hit.  I looked at the code and
  13. >the problem seems to be in the CalcAngle function.  I'm no mathemetician,
  14. >but it seems to me that a function that always returns zero can't be doing
  15. >what it's supposed to! :-)
  16. >
  17. >What's the deal?
  18. >Walter
  19.  
  20. Might be a bug. We will look at it.
  21.  
  22. ........................................................................
  23.  Henri Lamiraux                                      lamiraux@apple.com
  24.  Apple Computer, Inc.                 OpenDoc(tm) Development Framework
  25. ........................................................................
  26.  
  27.